import { EntityModel } from '@midwayjs/orm';
import { Column } from 'typeorm';
import {LoeeEntity} from '../../../comentity'

/**
 * 描述
 */
@EntityModel('course_type')
export class CourseTypeEntity extends LoeeEntity {
  @Column({ comment: '课程ID' })
  course_id: string;

  @Column({ comment: '课程名称' })
  course_name: string;

  @Column({ comment: '学习年龄' })
  learn_age: string;

  @Column({ comment: '使用器材' })
  equipment: string;

  @Column({ comment: '课程功能',length:2000 })
  course_function: string;

  @Column({ comment: '备注',length:1000,nullable: true})
  note: string;
}
